411ab3
@@ -17,6 +17,8 @@
  */
 package org.apache.hadoop.hive.ql.index;
 
+import org.apache.hadoop.hive.ql.index.bitmap.BitmapIndexHandler;
+import org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -30,10 +32,9 @@
   public static String INDEX_TABLE_CREATETIME = "hive.index.basetbl.dfs.lastModifiedTime";
 
   public static enum IndexType {
-    AGGREGATE_TABLE("aggregate", "org.apache.hadoop.hive.ql.AggregateIndexHandler"),
-    COMPACT_SUMMARY_TABLE("compact", "org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler"),
-    BITMAP_TABLE("bitmap",
-"org.apache.hadoop.hive.ql.index.bitmap.BitmapIndexHandler");
+    AGGREGATE_TABLE("aggregate",  AggregateIndexHandler.class.getName()),
+    COMPACT_SUMMARY_TABLE("compact", CompactIndexHandler.class.getName()),
+    BITMAP_TABLE("bitmap", BitmapIndexHandler.class.getName());
 
     private IndexType(String indexType, String className) {
       indexTypeName = indexType;
